🎯 <b>WeaponHUD</b> 🎯

<b>About</b>:
A <i>script</i> that gives you a clean, modern weapon HUD for GTA V singleplayer.
Shows your current weapon and its status (<b>EQUIPPED</b> / <b>HOLSTERED</b>) on-screen with smooth fade transitions. Fully customizable and lightweight, it won’t affect performance.

<b>Features</b>:

* Modern HUD box showing weapon name and status
* Smooth fade-in/fade-out animations for display
* Configurable position, size, and display duration
* Automatically detects current weapon
* Works for all weapons in GTA V (melee, pistols, rifles, shotguns, SMGs, LMGs, snipers, heavy weapons, throwables)
* Shows last weapon name when holstered
* Optional configuration menu + reload with <b>F10</b> key

<b>Configuration</b>:

* <i>PosX</i>, <i>PosY</i>: Position on screen
* <i>Scale</i>: Size of the text
* <i>DisplayDuration</i>: How long the HUD stays visible (ms)
* Weapon names can be customized in the INI file

<b>Requirements</b>:

* Script Hook V
* Script Hook V .NET (🔸Nightly Build🔸)

Using outdated versions of SHVDN may cause crashes. Use latest versions!

<b>Installation</b>:

1. Make sure to delete older versions before installing
2. Drop "<b>WeaponHUD.dll</b>" and the folder with same name into your <i>scripts</i> folder
3. An INI file will be automatically generated at first run
4. To uninstall, remove the DLL and folder

<b>Changelog</b>: 
<b>v1.0</b> – Initial release
<b>v1.0.1 (hotfix)</b> - Uploaded wrong .DLL, now it should work correctly.
<b>v1.0.2 (hotfix)</b> - Added INIFileParser.dll for those who dont have already, because the script needs to read data from the .ini file.
v1.1 - Major Update:
-> New In-Game Configuration Menu – Press ~ (tilde) key and type weaponhud to open a full customization menu.
-> Live Preview Mode – While the menu is open, the Weapon HUD stays visible permanently so you can see changes in real-time.
-> Massive Customization – Adjust position, size, colors, padding, scales, line settings, and more directly in-game.
-> F10 – Toggle menu open/close. Closing the menu automatically saves all changes to WeaponHUD.ini.
-> No more automatic folder/INI creation – Cleaner installation. Just place WeaponHUD.ini in your scripts folder.
-> Improved decimal parsing – Now supports both dot (.) and comma (,) for users from all countries.
-> Fixed critical initialization order – Prevents crashes and loading issues for many users.
-> Better ~ key detection – More reliable input handling.
-> Removed F9 reload – Replaced with the new menu system.
-> Overall stability improvements – Better compatibility with latest Script Hook V .NET nightly builds.
-> Code cleanup & optimization

* Fully functional modern weapon HUD
* Smooth fade animations
* Customizable via INI
* Supports all GTA V weapons

<i>DO NOT RE-UPLOAD without permission!</i>
If you like this mod let me know in the comments :)
@ww_aleeex // @aleksforreal // 7aleksforreal

<b>Discord Server:</b> [https://discord.gg/ATNEBR6nfu](https://discord.gg/ATNEBR6nfu)